package com.infolab.aims.service.intf;

import java.util.List;
import com.infolab.aims.common.bean.SearchCriteria;
import com.infolab.aims.common.bean.SearchResult;
import com.infolab.aims.domain.purchase.PurchaseOrder;

public interface PurchaseOrderService {

	public void createPurchaseOrder(PurchaseOrder purchaseOrder);
	
	public PurchaseOrder getPurchaseOrder(Integer purchaseOrderId);
	
	public PurchaseOrder findPurchaseOrder(SearchCriteria searchCriteria);
	
	public List<PurchaseOrder> findPurchaseOrders(SearchCriteria searchCriteria);
	
	public SearchResult searchPurchaseOrder(SearchCriteria searchCriteria);
	
	public void updatePurchaseOrder(PurchaseOrder purchaseOrder);
	
	public void deletePurchaseOrder(PurchaseOrder purchaseOrder);
	
	public void closePurchaseOrder(PurchaseOrder purchaseOrder);
	
}
